<?php
/**
 * Junction_Sql_Expression_OperandNode
 * 
 * Models an operand node in an expression tree.  An operator
 * node contains an object which can be modeled textually in SQL.
 * 
 * @author Patrick J. Mizer <patrick.mizer@gmail.com>
 */
 
using("Junction_Sql_Expression_Node"); 
using("Junction_Sql_Writable");

class Junction_Sql_Expression_OperandNode extends Junction_Sql_Expression_Node 
{
    /**
     * Operand which can be represented in SQL
     * 
     * @var Junction_Sql_Writable
     */
    private $_operand;
    
    /**
     * Junction_Sql_Expression_OperandNode Constructor
     * 
     * @param Junction_Sql_Writable
     */
    public function __construct(Junction_Sql_Writable $operand) 
    {
    	$this->_operand  = $operand;
    }
    
    /**
     * Getter for Sql Writable
     * 
     * @return Junction_Sql_Writable
     */
    public function getOperand()
    {
    	return $this->_operand;
    }
}
?>